package edu.fafu.service;

import java.util.List;

import edu.fafu.entity.Admin;
import edu.fafu.entity.Question;
import edu.fafu.util.PageBean;

public interface IQuestionService {
	

	PageBean queryQuestion(String condition,PageBean pb);

	void addQuestion(Question q);

	void updateQuestion(Question q);

	void deleteQuestion(int id);


	Question queryQuestionOne(int id);
	

	PageBean queryAllQuestion(PageBean pageBean);

	PageBean queryAnswer(Question q,PageBean pageBean);

	PageBean queryQuestionByUser(int i, PageBean pageBean);
}
